<?php
class Profile_Space extends Profile {
    public function __construct($db, $userid = null) {
        parent::__construct($db, 'spaceprofile');
        
        if($userid > 0) {
            $this->setUserId($userid);
        }
    }
    
    public function setUserId($userid) {
        $filters = array('userid' =>(int)$userid);
        $this->_filters = $filters;
    }
}
?>